<@t.html>
<@t.container title="消息模板管理" icon="file-archive-o" >
  	       <!--operator-->
  	       <@t.btn_a name="添加模板" icon="plus" href="admin/templates/toAdd"/>
  	       <@t.btn_b name="删除模板" icon="trash" onclick="batchDeleteFun('admin/templates/delete');" />
  		   <@t.dt>
  		   		 <@t.dtheader>
						 <@t.column title="ID" />
						 <@t.column title="标题" />
						 <@t.column title="缩写" />
						 <@t.column title="说明" />
				</@t.dtheader>
  			<@t.dtbody>
  				 <#list page.list as a>
                     <tr onclick="checkDataGridRow('${a.id}');">
                      	<td><input name='SelectedID' id="select_${a.id}" value="${a.id}" type="checkbox"></td>
                        <td>${a.id}</td>
						<td>${a.title}</td>
						<td>${a.slug}</td>
						<td>${a.mintext}</td>
                        <td>
                        	<@t.btn_b name="删除" size="btn-xs" icon="trash" onclick="batchDeleteFun('admin/templates/delete','${a.id}');" />
							<@t.btn_a name="修改" size="btn-xs" icon="pencil" href="admin/templates/toAdd?id=${a.id}"/>
						</td>
                     </tr>
				 </#list>
  			</@t.dtbody>
  		</@t.dt>
  		<!--pager-->
  		<@t.back_pager objCount=page.totalRow pageSize=page.pageSize pageNum=page.pageNumber pageCount=page.totalPage></@t.back_pager>
  </@t.container>
</@t.html>